<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>Home</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="keywords"
	content="Modern Responsive web template, Bootstrap Web Templates, Flat Web Templates, Andriod Compatible web template, 
Smartphone Compatible web template, free webdesigns for Nokia, Samsung, LG, SonyErricsson, Motorola web design" />
<script type="application/x-javascript">
	
	 addEventListener("load", function() { setTimeout(hideURLbar, 0); }, false); function hideURLbar(){ window.scrollTo(0,1); } 

</script>
<!-- Bootstrap Core CSS -->
<link href="css/bootstrap.min.css" rel='stylesheet' type='text/css' />
<!-- Custom CSS -->
<link href="css/style.css" rel='stylesheet' type='text/css' />
<!-- Graph CSS -->
<link href="css/lines.css" rel='stylesheet' type='text/css' />
<link href="css/font-awesome.css" rel="stylesheet">
<!-- jQuery -->
<script src="js/jquery.min.js"></script>
<!-- Nav CSS -->
<link href="css/custom.css" rel="stylesheet">
<!-- Metis Menu Plugin JavaScript -->
<script src="js/metisMenu.min.js"></script>
<script src="js/custom.js"></script>
<!-- Graph JavaScript -->
<script src="js/d3.v3.js"></script>
<script src="js/rickshaw.js"></script>
</head>
<body>
	<div id="wrapper">
		<!-- Navigation -->

		<!-- left.jsp -->
		<jsp:include page="left.jsp"></jsp:include>


		<div id="page-wrapper">

			


			<div class="xs">
				<div class="well1 white">
					项目信息
					<hr/>
					<table class="table">
						<tr>
							<td colspan="1"><b>项目令号</b></td>
							<td style="color:red">${projectById.project_code }</td>
							<td colspan="1"><b>项目名称</b></td>
							<td style="color:red">${projectById.project_name}</td>
							<td><b>项目领域</b></td>
							<td style="color:red">${projectById.project_filed.projectfield_name }</td>
						</tr>
						<tr>	
							<td><b>项目类型</b></td>
							<td style="color:red">${projectById.project_type.protype_name }</td>
							<td><b>合同甲方</b></td>
							<td style="color:red">${projectById.client.name }</td>
							<td><b>用户单位</b></td>
							<td style="color:red">${projectById.consumerunit }</td>
						</tr>
						<tr>
							<td colspan="1"><b>设备台套数</b></td>
							<td colspan="5" style="color:red">${projectById.product_number}</td>
						</tr>
						<tr>
							<td colspan="6"><b>设备信息</b></td>
						</tr>
						<tr>
							<td colspan="6">
								<ul>
									<c:forEach items="${fn:split(projectById.product_place, ';')}" var="device">
									<li>
										使用地点：<span style="color:red;">${fn:split(device, ',')[0]}</span>
										&nbsp;&nbsp;&nbsp;&nbsp;
										交付时间：<span style="color:red;">${fn:split(device, ',')[1]}</span>
									</li>
									</c:forEach>
								</ul>
							</td>
						</tr>
					</table>
					<br/>
					项目组织
					<hr/>
					<table class="table">
						<tr>
							<td><b>项目所领导</b></td>
							<td style="color:red">${projectById.leader_39.user_name }</td>
							<td><b>计划部分管领导</b></td>
							<td style="color:red">${projectById.project_manager.user_name }</td>
							<td><b>计划部项目主管</b></td>
							<td style="color:red">${projectById.cpd_ps.user_name }</td>
							<td><b>事业部项目主管</b></td>
							<td style="color:red">${projectById.head_ps }</td>
						</tr>
						<tr>
							<td><b>牵头单位</b></td>
							<td style="color:red">${projectById.head_dept.dept_name }</td>
							<td><b>参研单位</b></td>
							<td style="color:red">
							<c:forEach items="${projectById.participate_dept }" var="d">
								${d.dept_name }&nbsp;
							</c:forEach>
							</td>
							<td><b>项目启动日期</b></td>
							<td style="color:red">
								${fn:substring(projectById.time_details, 0, 10) }
							</td>
						</tr>
						<tr>	
							<td><b>项目生命周期</b></td>
							<td style="color:red">
							<%--	${projectById.project_nlc.name_subcycle }--%>
								<c:forEach var="lc" items="${projectById.lifeCycles }" >
									${lc.name_lifecycle },
									
									
									
								</c:forEach></td>
							<td><b>分级生命周期模型</b></td>
							<td style="color:red">
							<c:forEach var="fj" items="${projectById.subcycles }">
									${fj.name_subcycle }:
								</c:forEach></td>
						</tr>
					</table>	
				</div>
			</div>
				<center>
					<button class="btn btn-primary" onclick="history.go(-1);" >返回</button>
				</center>
			<!-- copyright -->
		</div>
	<jsp:include page="copyright.jsp"></jsp:include>
	</div>
	<!-- /#page-wrapper -->
	</div>
	<!-- /#wrapper -->
	<!-- Bootstrap Core JavaScript -->
	<script src="js/bootstrap.min.js"></script>
</body>
</html>
